package com.csw.android.ffmpegtest.utils

import android.os.Build
import com.csw.android.dev_utils.utils.LogUtils

object SystemUtils {

    fun cpuABIS() {
        val abis = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
            Build.SUPPORTED_ABIS
        } else {
            arrayOf(Build.CPU_ABI, Build.CPU_ABI2)
        }
        val abiStr = StringBuilder()
        for (abi in abis) {
            abiStr.append(abi)
            abiStr.append(',')
        }
        LogUtils.i(this, "CPU架构:${abiStr} ")
    }

}